package com.mycode.factorymethod03.resolve;

public class PieChartFactory implements Factory{
    @Override
    public Chart createChart() {
        PieChart pieChart = new PieChart();
        System.out.println("初始化饼图");
        return pieChart;
    }
}
